<?php
/**
 * Created by PhpStorm.
 * User: BlueIdeaLirui
 * Date: 2019/09/03
 * Time: 14:58
 */

namespace business\elasticsearch\models;

use yii\elasticsearch\ActiveRecord;

class LandConstructionModel extends ActiveRecord
{
    public static function getDb()
    {
        return \Yii::$app->get('elasticsearch');
    }

    public static function index()
    {
        return 'b2b_data_center.land_construction';
    }

    public static function type()
    {
        return 'land_construction';
    }
}
